package com.kh.pajx.sop.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kh.pajx.sop.base.BaseServiceImpl;
import com.kh.pajx.sop.dao.IStockDevInDao;
import com.kh.pajx.sop.domain.PageBean;
import com.kh.pajx.sop.domain.stock.StockDevIn;
import com.kh.pajx.sop.service.IStockDevInService;
import com.kh.pajx.sop.util.page.QueryHelper;
@Service
@Transactional
public class StockDevInServiceImpl extends BaseServiceImpl<StockDevIn> implements IStockDevInService{
	@Resource	
	private IStockDevInDao devInDao;
	
	public void save(StockDevIn devIn){
		devInDao.save(devIn);
	}
	
	public void update(StockDevIn devIn){
		devInDao.update(devIn);
	}
	public void delete(String uuid){
		devInDao.delete(uuid);
	}
	public StockDevIn getById(Long id){
		return devInDao.getById(id);
	}
	
	public StockDevIn getById(String uuid){
	return	devInDao.getById(uuid);
	}
	public List<StockDevIn> findAll(){
		
		return devInDao.findAll();
	}
	public PageBean getPageBean(int pageNum, int pageSize,
			QueryHelper queryHelper) {
		return devInDao.getPageBean(pageNum, pageSize, queryHelper);
	}
}
